Package com.cisco.pt.ipc.sim.pdu.impl
Class RadiusPacketImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
com.cisco.pt.ipc.sim.pdu.impl.RadiusPacketImpl
- All Implemented Interfaces:
IPCData,Header,Pdu,RadiusPacket,Signal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Byteprotected Stringprotected Stringprotected Byteprotected intprotected Shortprotected AttribTypeFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
payloadFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getCode()getFieldType(String fieldName) intgetId()getType()voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetAttributeLength(Byte attributeLength) voidsetAttribValue(String attribValue) voidsetAuthenticator(String authenticator) voidvoidsetId(int id) voidvoidsetType(AttribType type) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
getPayload, setPayloadMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Header
getPayload, setPayloadMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
code
-
id
protected int id -
length
-
authenticator
-
type
-
attributeLength
-
attribValue
-
-
Constructor Details
-
RadiusPacketImpl
public RadiusPacketImpl()
-
-
Method Details
-
getCode
- Specified by:
getCodein interfaceRadiusPacket- Returns:
- Byte Returns a Byte
-
setCode
- Specified by:
setCodein interfaceRadiusPacket- Parameters:
code- Takes in a parameter of code
-
getId
public int getId()- Specified by:
getIdin interfaceRadiusPacket- Returns:
- int Returns a int
-
setId
public void setId(int id) - Specified by:
setIdin interfaceRadiusPacket- Parameters:
id- Takes in a parameter of id
-
getLength
- Specified by:
getLengthin interfaceRadiusPacket- Returns:
- Short Returns a Short
-
setLength
- Specified by:
setLengthin interfaceRadiusPacket- Parameters:
length- Takes in a parameter of length
-
getAuthenticator
- Specified by:
getAuthenticatorin interfaceRadiusPacket- Returns:
- String Returns a String
-
setAuthenticator
- Specified by:
setAuthenticatorin interfaceRadiusPacket- Parameters:
authenticator- Takes in a parameter of authenticator
-
getType
- Specified by:
getTypein interfaceRadiusPacket- Returns:
- AttribType Returns a AttribType
-
setType
- Specified by:
setTypein interfaceRadiusPacket- Parameters:
type- Takes in a parameter of type
-
getAttributeLength
- Specified by:
getAttributeLengthin interfaceRadiusPacket- Returns:
- Byte Returns a Byte
-
setAttributeLength
- Specified by:
setAttributeLengthin interfaceRadiusPacket- Parameters:
attributeLength- Takes in a parameter of attributeLength
-
getAttribValue
- Specified by:
getAttribValuein interfaceRadiusPacket- Returns:
- String Returns a String
-
setAttribValue
- Specified by:
setAttribValuein interfaceRadiusPacket- Parameters:
attribValue- Takes in a parameter of attribValue
-
getFieldType
- Overrides:
getFieldTypein classHeaderImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classHeaderImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classHeaderImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classHeaderImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classHeaderImpl
-